Skip to content

Conversation

@bripeticca
Copy link
Contributor

@bripeticca bripeticca commented Dec 16, 2025

Addresses:

  • Comments under Capture code snippet from diagnostic compiler output #9362 related to testing
  • Removes the stepping fraction from being printed when dealing with events that report a negative percentage; the idea here is that if the progress is in the negative, this seems to be a pre-build step where there is no real benefit to reporting the "percentage complete" here.
  • Omit messages that do not contain useful information (i.e. messages that are of the format "14 / 27" without any identifying text, etc.)
  • Emit planning operation start + complete in a similar fashion to the native build system
  • Emit instances of a target being already up to date and not requiring a build.

}
case .targetUpToDate(let info):
// Received when a target is entirely up to date and did not need to be built.
self.outputStream.send("Target \(info.guid) up to date." + "\n")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be under isVerbose or perhaps even extra verbose.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed - I just updated this line to self.observabilityScope.emit(info: ...) so it should be visible only under verbose mode now.

@bripeticca
Copy link
Contributor Author

@swift-ci please test

@bripeticca bripeticca changed the title [WIP] Update SwiftBuild progress reporting Update SwiftBuild progress reporting Jan 12, 2026
@bripeticca bripeticca marked this pull request as ready for review January 12, 2026 22:54
@bripeticca
Copy link
Contributor Author

@swift-ci please test

1 similar comment
@bripeticca
Copy link
Contributor Author

@swift-ci please test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants